package com.example.springboot.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springboot.entity.LeaveStu;

import java.util.List;

public interface LeaveStuService extends IService<LeaveStu> {
    //新增学生
    int addNewLeaveStu(LeaveStu leaveStu);

    int agreeAccount(String username,String isagree);

    int delete(String username);

    List<LeaveStu> findByUserName(String username,Integer pageNum, Integer pageSize, String search);

    int leaveNum();
}
